package com.lingyuan.warehouse.domain;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import lombok.Data;


/**
 * @Author：寇可往，我亦可往。
 * @Package：com.lingyuan.pojo
 * @Project：lingyuan-shopping-mall
 * @name：WmsWareSku
 * @Date：2024/9/18 10:04
 */
@Data
@TableName("wms_ware_sku")
public class WmsWareSkuPO{
    // 库存id
    @TableId(value = "id",type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Long id;
    // sku_id
    @TableField( value = "sku_id")
    private Long skuId;
    // 仓库id
    @TableField( value = "ware_id")
    private Long wareId;
    // 库存数
    @TableField( value = "stock")
    private Long stock;
    // sku_name
    @TableField( value = "sku_name")
    private String skuName;
    // 锁定库存
    @TableField( value = "stock_locked")
    private Long stockLocked;
    // 预警库存
    @TableField( value = "warning")
    private Long warning;

    @TableField(exist = false)
    private Long userId;
    @TableField(exist = false)
    private Double  amount;
    //优先级
    private Long priority;

}
